//
//  EducationTableViewCell.m
//  GC_OC
//
//  Created by 曾 on 2022/1/19.
//

#import "EducationTableViewCell.h"

@implementation EducationTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)initView:(NSString*)nameStr andRight:(NSString*)timeStr
{
//    @property (weak, nonatomic) IBOutlet UILabel *nameLabel;
//    @property (weak, nonatomic) IBOutlet UILabel *timeLabel;
    self.nameLabel.text=nameStr;
    self.timeLabel.text=timeStr;

    self.timeLabel.font=[UIFont systemFontOfSize:FontSize(12)];
    self.nameLabel.font=[UIFont systemFontOfSize:FontSize(12)];
    self.nameLabel.textColor=[UIColor blackColor];
    self.timeLabel.textColor=RBG(200,200,200);
    [self.timeLabel sizeToFit];
    self.timeLabel.frame=CGRectMake(SCREEN_WIDTH-self.timeLabel.frame.size.width-wid(25),0,self.timeLabel.frame.size.width,hig(80));
    self.nameLabel.frame=CGRectMake(wid(20),0,SCREEN_WIDTH-self.timeLabel.frame.size.width-wid(20),hig(130));
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
